<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="css/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="css/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="css/demo.css">
	<script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
	<script type="text/javascript" src="js/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="js/jquery.edatagrid.js"></script>
	<script type="text/javascript" src="js/index.js"></script>
	
	<title>GIS</title>
</head>
<body class="easyui-layout">
	<div data-options="region:'north'" style="height:50px">
		GIS
	</div>  
    <div data-options="region:'south',split:false" style="height:20px;">
   	 	&nbsp
    </div>  
    <div data-options="region:'west',split:true" title="指标" style="width:200px;">
    	<ul id="tree1"></ul>
    </div>  
    <div data-options="region:'center',title:'数据'">
    	<div id="cxdm" class="easyui-datagrid">
  		</div>
    </div>  
  <div id="toolbar">  
  	<label>区域：</label>
	<input id="qy" class="easyui-combotree" data-options="url:'org/getOrgs.do?',required:true" style="width:200px;">
	<label>年份：</label>
	<input id="start" >
    <a href="#" class="easyui-linkbutton" onclick="searchInfo()" >查询</a> 
	<a href="#" class="easyui-linkbutton" onClick="exportExcel()">导出模板</a>  
	<a href="#" class="easyui-linkbutton" onClick="javascript:$('#cxdm').edatagrid('cancelRow')">导入数据</a>  
  </div>
  
   	<div id="dlg" class="easyui-dialog" style="width:300px;height:140px;padding:10px 20px"  
        closed="true" buttons="#dlg-buttons">                                           
	    <form id="fm" method="post" novalidate>                                             
	        <div class="fitem">                                                             
	            <label> &nbsp;&nbsp;指标值:&nbsp;&nbsp;</label>                                                  
	            <input name="e_data_value" class="easyui-validatebox" required="true">         
	        </div>                                                                          
	        <div class="fitem">                                                             
	            <label>数据来源:</label>                                                   
	            <input name="e_data_source" class="easyui-validatebox" >          
	        </div>
	        <input type="hidden" id="e_id" name="e_id"/>
	        <input type="hidden" id="e_index_id" name="e_index_id"/>
	        <input type="hidden" id="e_org_id" name="e_org_id"/>
	        <input type="hidden" id="e_year" name="e_year"/>                                                                       
	    </form>                                                                             
	</div>
  	<div id="dlg-buttons">
  	  <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-ok" onclick="editIndexDate()">提交</a> 
  	          <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-cancel" onclick="javascript:$('#dlg').dialog('close')">取消</a>  
  	</div>
  	
	<div id="form_div" style="visibility: none;">
		<form id="form1" action="index/template.do">
			<input type="hidden" id="s_index_id" name="index_id"/>
			<input type="hidden" id="s_org_id" name="org_id"/>
			<input type="hidden" id="s_start" name="start"/>
		</form>
	</div>
</body>
</html>